finding limits algebraically